<aside class="user_toolbox">
	<div class="head">
		<span class="role qmenu">
		<a href="#" class="role_text">我是{:getUserRole()}</a>
		<ul class="hidden" callbacks='<?php echo json_encode(array('click' => array('callback' => 'select_role', 'params' => array())));?>'>
			<li><a href="#0">我是爸爸</a></li>
			<li><a href="#1">我是妈妈</a></li>
			<li><a href="#2">我是爷爷</a></li>
			<li><a href="#3">我是奶奶</a></li>
			<li><a href="#4">我是外公</a></li>
			<li><a href="#5">我是外婆</a></li>
			</ul>
		</span>
		<!--<a class="msg" href="#">爸爸有唠叨</a>-->
	</div>
	<div class="body">
		<div class="user">
			<span class="avatar_setting">
				<a href="{:U('home/Account/index')}" class="avatar nocard"><img src="__THEME__/image/avatar_120.png" /></a>
				<a href="{:U('home/Account/index')}" class="edit">编辑资料</a>
			</span>
			<div class="user_info">
				<h4 class="nick">{$user['uname']}</h4>
				<em>{:getUserAge($user['userProfile']['intro']['birthday'])}</em>
				<a href="#" class="status">
					<em class="icon">&nbsp;</em>
					<span class="data">感冒了</span>
				</a>
				<a href="#" class="msg">3 条短消息</a>
			</div>
		</div>

		<div class="wheather">
			<span class="info">
				<em class="icon"><img src="{:weatherIcon($weather['weather1'])}" /></em>
				<cite>{$weather['city']}({$weather['temp1']}) <br/> {$weather['weather1']} </cite>
			</span>
			<span class="date">
				<em>{$weather['date_y']}</em><br/>{$weather['week']}<br/>
				<strong>{$user['userProfile']['contact']['address']}</strong>
			</span>
			<p class="tips">
				<!--<strong>健康小贴士</strong>-->
				{$weather['index_d']}
			</p>
		</div>

		<div class="toolbox">
			<h3><em class="icon">&nbsp;</em>推荐应用</h3>
			<ul class="tools">
				<li>
					<em class="icon itool">&nbsp;</em>
					<span class="info">
						<h4>孕育工具箱</h4>
						<a href="#">疫苗接种时间表</a>
						<a href="#">宝宝睡商测试</a>
					</span>
				</li>
				<li class="on">
					<em class="icon ivideo">&nbsp;</em>
					<span class="info">
						<h4>看宝宝视频</h4>
						<a href="#">洪恩少儿英语..</a>
						<a href="#">喜羊羊与灰太狼</a>
					</span>
				</li>
				<li>
					<em class="icon iplan">&nbsp;</em>
					<span class="info">
						<h4>时间管家</h4>
						<a href="#">12:30 午饭</a>
						<a href="#">20:30 睡觉</a>
					</span>
				</li>
				<li>
					<em class="icon idoctor">&nbsp;</em>
					<span class="info">
						<h4>医疗箱</h4>
						<a href="#">病历大全</a>
						<a href="#">营养专家</a>
					</span>
				</li>
				<li>
					<em class="icon istory">&nbsp;</em>
					<span class="info">
						<h4>听故事</h4>
						<a href="#">七个小矮人与..</a>
						<a href="#">狼与羊的故事</a>
					</span>
				</li>
				<li>
					<em class="icon igame">&nbsp;</em>
					<span class="info">
						<h4>玩游戏</h4>
						<a href="#">网页游戏</a>
						<a href="#">猜字游戏</a>
					</span>
				</li>
			</ul>
			<a class="more" href="#">&nbsp;</a>
		</div>
	</div>
	<div class="foot">&nbsp;</div>
</aside>